package com.malljelly.study;

import com.malljelly.study.config.Swagger2Config;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * Created by 骑着蜗牛去旅行 on 2018/8/15.
 */
@SpringCloudApplication ////=@SpringBootApplication+@EnableDiscoveryClient+@EnableCircuitBreaker
@Import({Swagger2Config.class}) //导入Swagger2Config配置
@EnableFeignClients  //开启feign客户端
public class PayApplication {

    public static void main(String[] args) {
        new SpringApplication(PayApplication.class).run(args);
    }
}
